home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 3
/
Amiga Tools 3.iso
/
grafik
/
raytracing
/
magiccamera
/
scripts
/
cool.mco
< prev
next >
Wrap
Text File
|
1994-05-19
|
2KB
|
142 lines
color white {
diff <1, .9, .9>
}
color red {
diff <1, 0, 0>
scoef 50
srefl 1
}
/* **************************************************************** */
object Box /* a simple Box */
box {
loc <-2, -2, -2>
v1 <4, 0, 0>
v2 <0, 4, 0>
v3 <0, 0, 4>
patt white
}
endobject /* Box */
/* **************************************************************** */
object rod /* rod to connect Boxes */
slice _rod.spin.slice = {
<.5, 0>,
<.5, 4>
}
spin {
loc <0, -2, 0>
patt white
slice _rod.spin.slice
}
endobject /* rod */
/* **************************************************************** */
object Boxes /* two Boxes connected by a rod */
translate Box <-4, 0, 0>
child Box
reset Box
translate Box <4, 0, 0>
child Box
reset Box
translate rod <0, 0, 0>
zrotate rod 90
child rod
reset rod
endobject /* Boxes */
/* **************************************************************** */
object zbeam
xrotate rod 90
instance rod
reset rod
endobject
/* **************************************************************** */
object Boxes4
translate Boxes <0, 0, -4>
child Boxes
reset Boxes
translate Boxes <0, 0, 4>
child Boxes
reset Boxes
translate zbeam <4, 0, 0>
child zbeam
reset zbeam
translate zbeam <-4, 0, 0>
child zbeam
reset zbeam
endobject
/* **************************************************************** */
object ybeam
instance rod
reset rod
endobject
/* **************************************************************** */
object cool_object
translate Boxes4 <0, -4, 0>
child Boxes4
reset Boxes4
translate Boxes4 <0, 4, 0>
child Boxes4
reset Boxes4
translate ybeam <-4, 0, -4>
child ybeam
reset ybeam
translate ybeam <4, 0, -4>
child ybeam
reset ybeam
translate ybeam <4, 0, 4>
child ybeam
reset ybeam
translate ybeam <-4, 0, 4>
child ybeam
reset ybeam
sphere {
patt red
loc <0, 0, 0>
radius 3.4
}
endobject
/* **************************************************************** */